import request from "@/utils/requestMd5";

export function statement_index(params) {
  return request({
    url: "/statement/index",
    method: "get",
    params
  });
}

export function statement_info(params) {
  return request({
    url: "/statement/info",
    method: "get",
    params
  });
}

export function statement_account(data) {
  return request({
    url: "/statement/account",
    method: "post",
    data: data
  });
}

export function statement_paid(data) {
  return request({
    url: "/statement/paid",
    method: "post",
    data: data
  });
}

export function statement_getGoods(params) {
  return request({
    url: "/statement/getGoods",
    method: "get",
    params
  });
}

export function statement_editPrice(data) {
  return request({
    url: "/statement/editPrice",
    method: "post",
    data: data
  });
}

// 财务管理详情导出
export function export_statement_info(data) {
  return request({
    url: "/export/order",
    method: "post",
    responseType: "blob",
    data: data
  });
}
